
{% extends "newdesign.html" %}

{% block title %}Your Simulation List, {{user}}{% endblock %}

{% block scripts %}

<script>
  $(document).ready(function(){
    $("#myList").sortable();
  });
</script>

{% endblock %}




{% block main %}
<center>
<div id="runidlist">
<h1>Simulation list</h1>
{% if runid_list %}
<ul id="myList">
{% for runid in runid_list %}
<li><a href="/reporter/results/{{runid.id}}">{{ runid.id }}</a> &nbsp;<a href="/reporter/results/{{runid.id}}/edit"><img src="http://imac.discosoup.net/~mharrison/django/edit.png" class="edit" /></a> &nbsp; <a href="/reporter/results/{{runid.id}}/delete"><img src="http://imac.discosoup.net/~mharrison/django/delete.png" class="delete" /></a></li>
{% endfor %}
</ul>
{% else %}
<p>Sorry, no RunIDs for you, {{user}} =(
<br>Please click "input" below to start a simulation</p>
{% endif %}

</div>
</center>

{% endblock %}

